<?php 
/*
* ----------------------------------------------------------------------------------------------------
* MENU FUNCTIONS
* @PACKAGE BY TT
* ----------------------------------------------------------------------------------------------------
*/


/*------------------------------------------------------------------------
*Top Menu



[social]
  [s name=facebook icon=]facebook.com[/s]
  [s name=facebook icon=]facebook.com[/s]
  [s name=facebook icon=]facebook.com[/s]
  [s name=facebook icon=]facebook.com[/s]
  [s name=facebook icon=]facebook.com[/s]
[/social]
------------------------------------------------------------------------*/
function TT_social($title = 'Social',$content='Please click below icons for updates',$arrs= array()) 
{
    $return='<div class="social-icons">	 
    <h2>'.$title.'</h2>
    <div>'.$content.'</div>
    <ul>';
	foreach($arrs as $arr):
    $return .=   '<li><a href="'.$arr["url"].'" class="tipsy" title="'.$arr["name"].'"><img src="'.$arr["icon"].'" alt="'.$arr["name"].'"></a></li>';
	endforeach;
    $return .='</ul></div>';
	return $return;
}


?>